
<extend name="Public:base" />
<block name="content">

	<div class="row">
		<div class="col-lg-12">
			<h1 class="page-header">用户信息</h1>
		</div>
		<!-- /.col-lg-12 -->
	</div>
	<!-- /.row -->
	<div class="row">
		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<a href="{:U('CustomerInfo/add')}" class="btn btn-primary " role="button">新增用户</a>
				</div>
				<!-- /.panel-heading -->
				<div class="table-responsive">
					<div class="panel-body">
						<div class="dataTable_wrapper">

							<table class="table table-striped table-bordered table-hover" id="dataTables-example">
								<thead>
<tr>	
<th><center>id</center></th><th><center>deal_sn</center></th><th><center>name</center></th><th><center>sub_name</center></th><th><center>cate_id</center></th><th><center>c_id</center></th><th><center>description</center></th><th><center>is_effect</center></th><th><center>is_delete</center></th><th><center>sort</center></th><th><center>type_id</center></th><th><center>icon</center></th><th><center>borrow_amount</center></th><th><center>repay_time</center></th><th><center>rate</center></th><th><center>loantype</center></th><th><center>create_time</center></th><th><center>update_time</center></th><th><center>repay_money</center></th><th><center>repay_start_time</center></th><th><center>last_repay_time</center></th><th><center>next_repay_time</center></th><th><center>deal_status</center></th><th><center>is_check</center></th><th><center>enddate</center></th><th><center>services_fee</center></th><th><center>publish_wait</center></th><th><center>send_three_msg_time</center></th><th><center>is_send_contract</center></th><th><center>repay_time_type</center></th><th><center>risk_rank</center></th><th><center>risk_security</center></th><th><center>manage_fee</center></th><th><center>manage_impose_fee_day1</center></th><th><center>manage_impose_fee_day2</center></th><th><center>impose_fee_day1</center></th><th><center>impose_fee_day2</center></th><th><center>delete_msg</center></th><th><center>user_bid_rebate</center></th><th><center>guarantor_pro_fit_amt</center></th><th><center>guarantor_real_fit_amt</center></th><th><center>view_info</center></th><th><center>repay_start_date</center></th><th><center>bad_date</center></th><th><center>contract_id</center></th><th><center>tcontract_id</center></th><th><center>is_hidden</center></th><th><center>attachment</center></th><th><center>tattachment</center></th><th><center>is_index_show</center></th><th><center>loans_pic</center></th><th><center>admin_id</center></th><td>操作</td>
</tr>
</thead>
								<tbody>
									<volist name="dealList" id="vo">
<tr>
<td>{$vo.id}</td><td>{$vo.deal_sn}</td><td>{$vo.name}</td><td>{$vo.sub_name}</td><td>{$vo.cate_id}</td><td>{$vo.c_id}</td><td>{$vo.description}</td><td>{$vo.is_effect}</td><td>{$vo.is_delete}</td><td>{$vo.sort}</td><td>{$vo.type_id}</td><td>{$vo.icon}</td><td>{$vo.borrow_amount}</td><td>{$vo.repay_time}</td><td>{$vo.rate}</td><td>{$vo.loantype}</td><td>{$vo.create_time}</td><td>{$vo.update_time}</td><td>{$vo.repay_money}</td><td>{$vo.repay_start_time}</td><td>{$vo.last_repay_time}</td><td>{$vo.next_repay_time}</td><td>{$vo.deal_status}</td><td>{$vo.is_check}</td><td>{$vo.enddate}</td><td>{$vo.services_fee}</td><td>{$vo.publish_wait}</td><td>{$vo.send_three_msg_time}</td><td>{$vo.is_send_contract}</td><td>{$vo.repay_time_type}</td><td>{$vo.risk_rank}</td><td>{$vo.risk_security}</td><td>{$vo.manage_fee}</td><td>{$vo.manage_impose_fee_day1}</td><td>{$vo.manage_impose_fee_day2}</td><td>{$vo.impose_fee_day1}</td><td>{$vo.impose_fee_day2}</td><td>{$vo.delete_msg}</td><td>{$vo.user_bid_rebate}</td><td>{$vo.guarantor_pro_fit_amt}</td><td>{$vo.guarantor_real_fit_amt}</td><td>{$vo.view_info}</td><td>{$vo.repay_start_date}</td><td>{$vo.bad_date}</td><td>{$vo.contract_id}</td><td>{$vo.tcontract_id}</td><td>{$vo.is_hidden}</td><td>{$vo.attachment}</td><td>{$vo.tattachment}</td><td>{$vo.is_index_show}</td><td>{$vo.loans_pic}</td><td>{$vo.admin_id}</td><td><a href="{:U('Deal/edit/id/'.$vo[id])}">编辑</a> |
<a href="{:U('Deal/delete/id/'.$vo[id])}" onclick='return confirm("确定删除吗？")'>删除</a>
</td>
</tr>
</volist>

								</tbody>
							</table>
						</div>
					</div>
					<!-- /.table-responsive -->
				</div>
				<!-- /.panel-body -->
			</div>
			<!-- /.panel -->
		</div>
		<!-- /.col-lg-12 -->
	</div>
	<!-- /.row -->
</block>
<block name="extend-css">
	<!-- DataTables CSS -->
	<link href="__STATIC__/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" rel="stylesheet">

	<!-- DataTables Responsive CSS -->
	<link href="__STATIC__/bower_components/datatables-responsive/css/dataTables.responsive.css" rel="stylesheet"></block>
<block name="extend-js">
	<script src="__STATIC__/bower_components/datatables/media/js/jquery.dataTables.min.js"></script>
	<script src="__STATIC__/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js"></script>

	<!-- Page-Level Demo Scripts - Tables - Use for reference -->
	<script>
    $(document).ready(function() {
        $('#dataTables-example').DataTable({
                responsive: true
        });
    });
    </script>
</block>
